package communication;

import java.util.ArrayList;

import entities.Variable;

public class testing {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Variable v = new Variable();
		Variable x = new Variable();
		Variable d = new Variable();
		Variable z = new Variable();
		char c = 0x00;
		char f = 0x01;

		v.setAddress(c);
		v.setControllerAddress(f);
		c = 0x01;

		x.setAddress(c);
		x.setControllerAddress(f);

		c = 0x02;
		d.setAddress(c);
		d.setControllerAddress(f);

		c = 0x03;
		z.setAddress(c);
		z.setControllerAddress(f);

		ArrayList variaveis = new ArrayList();
		variaveis.add(v);
		variaveis.add(x);
		variaveis.add(d);
		variaveis.add(z);

		MainCOMM n = new MainCOMM();

		n.initiateCommunication(variaveis);

	}

}
